﻿using System;
using System.Linq;

namespace YawetagLib.Linq
{
    public struct ProjectionInfo
    {
        internal static ProjectionInfo New(Type type, IQueryable result) 
        {
            return new ProjectionInfo { Type = type, Result = result };
        }

        public Type Type { get; private set; }

        public IQueryable Result { get; private set; }
    }
}
